Package-level declarations

Types

Link copied to clipboard
@Serializable
data class PaymentMean(val id: UUID, val created: Instant, val alias: String, val cardExpiry: YearMonth, val active: Boolean)

Payment Mean data structure

Link copied to clipboard
data class PaymentsOverview(val transactions: List<Transaction>, val totalPages: Int, val currentPage: Int, val isLast: Boolean, val isFirst: Boolean)

Data class describing payments overview

Link copied to clipboard
enum State : Enum<State>

Class represents the current state of the SDK.

Link copied to clipboard
sealed class Token

Interface detailing tokens in Whitelabel Pay

Link copied to clipboard
data class Transaction(val amount: BigDecimal, val currency: String, val transactionTime: Instant, val paymentMeanId: UUID, val maskedIban: String, val bankName: String, val storeName: String, val storeStreet: String, val storeZipCode: String, val storeTown: String, val status: TransactionStatus, val reason: String?)

Data class describing a payment transaction

Link copied to clipboard

Enum class detailing the status of the transaction.

Link copied to clipboard
data class WhitelabelPayConfigurations(val bundleId: String, val merchantId: String, var notificationId: String?, val environment: WhitelabelPayEnvironment, val showErrorLogs: Boolean)

SDK Configuration

Link copied to clipboard

Enum class describing the environment options for accessing WhitelabelPay services